<?php

namespace App\Library\Requests\Pay;

use App\Library\Requests\Base\BaseDTORequest;

class PayAuctionRequest extends BaseDTORequest
{
    public function rules(): array
    {
        return [
            $this->No => 'required|string|size:20|regex:' . __('com.numReg'),
            'paymentMethodId' => 'required|integer|in:1,2',
            'method' => 'required|integer|in:1',
            'code' => 'required|string|size:32|regex:' . __('com.codeReg')
        ];
    }
}
